﻿<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
    <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
</head>
<body>
   
    <div class="widget1 drag_resize">
        Dummy contents 1
    </div>
    <div class="widget2 drag_resize">
        Dummy contents 2
    </div>
    <div class="widget3 drag_resize">
        Dummy contents 3
    </div>
</body>
$(function() {
    $(".drag_resize").draggable({stack: "div"}).resizable();
});
</html>